<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
    *{margin: 0;
      padding: 0;  
    }
    .ipok{
        border: 1px blue solid;
        width: 800px auto;
        margin: 0px;
        list-style: inside;
    }    
    .ilka{
        border: 1px solid red;
        margin-top: 50px;
        width: 800px auto;
        list-style: inside;
    }
    
</style>
</head>
<body>
<div class="ipok">
    <h3>水果</h3>
    <ul>
        <li>柠檬</li>
        <li>芒果</li>
        <li>李子</li>
    </ul>
</div>
<div class="ilka">
    <h3>运动</h3>
    <ul>
        <li>篮球</li>
        <li>足球</li>
        <li>羽毛球</li>
    </ul>
</div>    
</body>
</html>